package mydb

import (
	"jgt-oper/src/service/db"

	"github.com/facebookgo/inject"
)

// RegisterMySQL 注册MYSQL存储
func RegisterMySQL(g *inject.Graph, db *db.DB) {
	err := db.CreateTablesIfNotExists()
	if err != nil {
		panic(err)
	}
}
